<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>Dashboard Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link href="/appstore/Public/assets/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/appstore/Public/assets/css/dashboard.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="/appstore/Public/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="/appstore/Public/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">AppStore</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
            <li><a href="../login/login">登录</a></li>
            <!-- <li><a href="#">注册</a></li> -->
            <!-- <li><a href="#">Help</a></li> -->
          </ul>
        </div>
      </div>
    </nav>

    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
          <ul class="nav nav-sidebar">
            <li class="active"><a href="http://localhost/appstore/admin.php/user/userlist">用户管理<span class="sr-only">(current)</span></a></li>
            <li><a href="#">APP管理</a></li>
            <li><a href="http://localhost/appstore/admin.php/apptype/index">APP类型管理</a></li>
            <!-- <li><a href="#">Export</a></li> -->
          </ul>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"> 
 <form action="<?php echo U('admin.php/user/add');?>" method="post" class="form-horizontal" enctype="multipart/form-data">  
    <div class="form-group">
    	<label class="col-sm-2 control-label" for="zhr_username">用户名</label>
    	<div class="col-sm-5">
    	   <input type="text" name="zhr_username" class="form-control" ></input>
        </div>
    </div>
    <div class="form-group">
    	<label class="col-sm-2 control-label" for="zhr_pass">密码</label>
        <div class="col-sm-5">
           <input type="password" class="form-control" name="zhr_pass" required></input>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label" for="zhr_email">邮箱地址</label>
    	<div class="col-sm-5">
            <input type="email" class="form-control" name="zhr_email"></input>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label" for="zhr_tele">电话号码</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="zhr_tele"></input>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label" for="zhr_realname">真实姓名</label>
        <div class="col-sm-5">
            <input type="text"  class="form-control" name="zhr_realname"></input>
        </div>
    </div>
    <div class="form-group">
        <label for="zhr_photo" class="col-sm-2 control-label">头像</label>
        <div class="col-sm-5">
            <input type="file" name="zhr_photo" class="form-control"></input>
        </div>
    </div>
    <div class="form-group">
        <label for="zhr_intro" class="col-sm-2 control-label">自我介绍</label>
        <div class="col-sm-5">
            <textarea name="zhr_intro" class="form-control" rows="3"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">是否为明星</label>
        <div class="col-sm-5">
            <label class="radio-inline"><input type="radio" name="zhr_isstar"  value="1" checked>是</label>
            <label class="radio-inline"><input type="radio" name="zhr_isstar"  value="0">否</label>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">信息首页显示</label>
        <div class="col-sm-5">
            <label class="radio-inline"><input type="radio" name="zhr_isfirst"  value="1" checked>是</label>
            <label class="radio-inline"><input type="radio" name="zhr_isfirst"  value="0">否</label>
        </div>
    </div>
    <div class="form-group">
        <label for="intro" class="col-sm-2 control-label">通知信息</label>
        <div class="col-sm-5">
            <input name="zhr_veryfyinfo" class="form-control"></input>
        </div>
    </div>
    <div class="form-group"> 
        <div class="col-sm-offset-2 col-sm-5">
            <button type="submit" class="btn btn-default">确定</button>
            <button type="reset" class="btn btn-default">重置</button>
        </div> 	 
    </div> 		
</form>
          </div>
      </div>
    </div>

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script src="/appstore/Public/assets/js/bootstrap.min.js"></script>
    <!-- Just to make our placeholder images work. Don't actually copy the next line! -->
    <script src="/appstore/Public/assets/js/vendor/holder.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="/appstore/Public/assets/js/ie10-viewport-bug-workaround.js"></script>
  </body>
</html>